ILdapUnitProviderCreateOrUpdateRoleAsync - метод |
Пространство имён:
Tessa.Extensions.Platform.Server.AdSync
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.Extensions.Platform.Server.AdSyncIAdSyncContext
- conn
- Тип: Tessa.Extensions.Platform.Server.AdSyncAdConnection
- role
- Тип: Tessa.Extensions.Platform.Server.AdSyncAdEntry
- parentObjectGuid
- Тип: SystemNullableGuid
- parentObjectName
- Тип: SystemString
- updateUser
- Тип: SystemBoolean
- getUsersFunc (Optional)
- Тип: SystemFuncTaskListGuid
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskBooleanСм. также