ILdapUnitProviderCreateOrUpdateRoleAsync - метод
Пространство имён: Tessa.Extensions.Platform.Server.AdSyncСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
Task<bool> CreateOrUpdateRoleAsync(
IAdSyncContext syncContext,
AdConnection conn,
AdEntry role,
Guid? parentObjectGuid,
string parentObjectName,
bool updateUser,
Func<Task<List<Guid>>> getUsersFunc = null,
CancellationToken cancellationToken = default
)
Function CreateOrUpdateRoleAsync (
syncContext As IAdSyncContext,
conn As AdConnection,
role As AdEntry,
parentObjectGuid As Guid?,
parentObjectName As String,
updateUser As Boolean,
Optional getUsersFunc As Func(Of Task(Of List(Of Guid))) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
Task<bool>^ CreateOrUpdateRoleAsync(
IAdSyncContext^ syncContext,
AdConnection^ conn,
AdEntry^ role,
Nullable<Guid> parentObjectGuid,
String^ parentObjectName,
bool updateUser,
Func<Task<List<Guid>^>^>^ getUsersFunc = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract CreateOrUpdateRoleAsync :
syncContext : IAdSyncContext *
conn : AdConnection *
role : AdEntry *
parentObjectGuid : Nullable<Guid> *
parentObjectName : string *
updateUser : bool *
?getUsersFunc : Func<Task<List<Guid>>> *
?cancellationToken : CancellationToken
(* Defaults:
let _getUsersFunc = defaultArg getUsersFunc null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
- syncContext IAdSyncContext
-
- conn AdConnection
-
- role AdEntry
-
- parentObjectGuid NullableGuid
-
- parentObjectName String
-
- updateUser Boolean
-
- getUsersFunc FuncTaskListGuid (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskBoolean