partial void OnBuiltInRolesChanging(BuiltInRoles value);
public static BuiltInRoles CreateBuiltInRoles(long cloudAdmin, long cloudUser, long cloudGuest, long creatorOwner, long everyone, long appclusiveEveryone, long parentTenant, long childTenants) { BuiltInRoles builtInRoles = new BuiltInRoles(); builtInRoles.CloudAdmin = cloudAdmin; builtInRoles.CloudUser = cloudUser; builtInRoles.CloudGuest = cloudGuest; builtInRoles.CreatorOwner = creatorOwner; builtInRoles.Everyone = everyone; builtInRoles.AppclusiveEveryone = appclusiveEveryone; builtInRoles.ParentTenant = parentTenant; builtInRoles.ChildTenants = childTenants; return builtInRoles; }
public static TenantManagerInformation CreateTenantManagerInformation(global::System.Guid ID, global::System.Guid parentId, long nodeId, long jobId, long customerId, long configurationId, BuiltInRoles builtInRoles) { TenantManagerInformation tenantManagerInformation = new TenantManagerInformation(); tenantManagerInformation.Id = ID; tenantManagerInformation.ParentId = parentId; tenantManagerInformation.NodeId = nodeId; tenantManagerInformation.JobId = jobId; tenantManagerInformation.CustomerId = customerId; tenantManagerInformation.ConfigurationId = configurationId; if ((builtInRoles == null)) { throw new global::System.ArgumentNullException("builtInRoles"); } tenantManagerInformation.BuiltInRoles = builtInRoles; return tenantManagerInformation; }