UpdateSecurityAttributes MethodSave PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedAug 21, 20261 minute readHMI and SCADAOperations Management Interface 2026 Syntax Visual BasicC#C++/CLI 'Declaration Function UpdateSecurityAttributes( _ ByVal userName As String, _ ByVal accessLevel As Integer, _ ByVal userToken As Object, _ Optional ByVal userRoles As String _ ) As Boolean bool UpdateSecurityAttributes( string userName, int accessLevel, object userToken, string userRoles ) bool UpdateSecurityAttributes( String^ userName, int accessLevel, Object^ userToken, String^ userRoles ) ParametersuserName accessLevel userToken userRoles RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceISecurityAttributeInternal InterfaceISecurityAttributeInternal Members In This Topic
Syntax Visual BasicC#C++/CLI 'Declaration Function UpdateSecurityAttributes( _ ByVal userName As String, _ ByVal accessLevel As Integer, _ ByVal userToken As Object, _ Optional ByVal userRoles As String _ ) As Boolean bool UpdateSecurityAttributes( string userName, int accessLevel, object userToken, string userRoles ) bool UpdateSecurityAttributes( String^ userName, int accessLevel, Object^ userToken, String^ userRoles ) ParametersuserName accessLevel userToken userRoles RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceISecurityAttributeInternal InterfaceISecurityAttributeInternal Members
Syntax Visual BasicC#C++/CLI 'Declaration Function UpdateSecurityAttributes( _ ByVal userName As String, _ ByVal accessLevel As Integer, _ ByVal userToken As Object, _ Optional ByVal userRoles As String _ ) As Boolean bool UpdateSecurityAttributes( string userName, int accessLevel, object userToken, string userRoles ) bool UpdateSecurityAttributes( String^ userName, int accessLevel, Object^ userToken, String^ userRoles ) ParametersuserName accessLevel userToken userRoles RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceISecurityAttributeInternal InterfaceISecurityAttributeInternal Members
Syntax Visual BasicC#C++/CLI 'Declaration Function UpdateSecurityAttributes( _ ByVal userName As String, _ ByVal accessLevel As Integer, _ ByVal userToken As Object, _ Optional ByVal userRoles As String _ ) As Boolean bool UpdateSecurityAttributes( string userName, int accessLevel, object userToken, string userRoles ) bool UpdateSecurityAttributes( String^ userName, int accessLevel, Object^ userToken, String^ userRoles ) ParametersuserName accessLevel userToken userRoles RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceISecurityAttributeInternal InterfaceISecurityAttributeInternal Members